/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package entity.support;

/**
 *
 * @author dell
 */
import java.util.Date;
import java.io.Serializable;
public abstract class Obj implements Serializable
{
//columns_______________________________________________________________________
protected int id;
protected String name;
protected Date intime;
protected Date updatetime;
//functions_____________________________________________________________________
     //getter___________________________________________________________________
public int getId() 
{
     return id;
}
public String getName() 
{
     return name;
}
public Date getIntime() 
{
     return intime;
}
public Date getUpdatetime() 
{
     return updatetime;
}
     //setter___________________________________________________________________
public void setId(int id) 
{
     this.id = id;
}
public void setName(String name) 
{
     this.name = name;
}
public void setIntime(Date intime) 
{
     this.intime = intime;
}
public void setUpdatetime(Date updatetime) 
{
     this.updatetime = updatetime;
}
     //toString_________________________________________________________________
@Override
public String toString()
{
     return id+"\t"+name+"\t"+intime+"\t"+updatetime;
}
}
